import java.util.*;

class Hello
{
  
 private static final String TEST_URL = "http://www.portal-uat.honda.ca/SSOAuthorityWeb/authority.sso";
 private static final String PROD_URL = "https://ww.portal.honda.ca/SSOAuthorityWeb/authority.sso";
 public static void main (String args[])
 {
    /*
    String hostName = args[0];
    String postURL;
    
    if (hostName.toLowerCase().indexOf("test") > -1)
      postURL = TEST_URL;
    else 
      postURL = PROD_URL;
    System.out.println(postURL);
    */
    String indexOfString = "en_CA";
    if (indexOfString.length() > 2)
      System.out.println(indexOfString.substring(0,2));
 }
 
 static boolean isValidDay(int dd, int mm, int yyyy)
  {
    if (dd <= 28)
      return true;
    else
    {
      int javaMonth = mm -1;
      GregorianCalendar myDate = new GregorianCalendar(yyyy,javaMonth,dd);
      System.out.println(myDate);
      
      if(myDate.get(Calendar.DAY_OF_MONTH) == dd && myDate.get(Calendar.MONTH) == javaMonth && myDate.get(Calendar.YEAR) == yyyy)
        return true;
      else
        return false;
          
    }
  }
}
  
  


